#!/bin/
# 查找进程ID
process_id=$(netstat -tunpl | grep 15001 | awk '{print $7}' | awk -F '/' '{print $1}')
 # 杀死进
 if [ -n "$process_id" ]; then
     echo "Found process with ID: $process_id"
     kill $process_id
     nohup python3  HttpInterface.py  >/dev/null 2>&1 &
 else
     echo "取证服务未启动，开始启动"
     nohup python3  HttpInterface.py   >/dev/null 2>&1 &
	
 fi
